package com.hy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("teacher")
public class Teacher {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("teacherName")
    private String teacherName;

    @TableField("teacherDescription")
    private String teacherDescription;

    @TableField("teacherHeaderUrl")
    private String teacherHeaderUrl;

    @TableField("teahcerLessonDescription") // 与表字段名一致
    private String teahcerLessonDescription; // 正确拼写

    @TableField("teacherLikeNumbers")
    private Long teacherLikeNumbers;

    @TableField("deleteFlag")
    private Integer deleteFlag;

    @TableField("createTime")
    private Date createTime;

    @TableField("updateTime")
    private Date updateTime;
}
